﻿using System.Runtime.Serialization;

namespace RockBus.Monitoring.DataContracts.Configuration
{
    [DataContract(Namespace = NamespaceConstants.MonitoringNamespace)]
    public class PerformanceCounterCategoryConfiguration : PerformanceCounterConfigurationBase
    {
        public const string PerformanceCounterNameFormat = @"{0}\*";

        public override string FullName
        {
            get { return string.Format(PerformanceCounterNameFormat, this.CategoryName); }
        }
    }
}
